package com.itboye.textileexpres.util;

import java.util.ArrayList;
import java.util.regex.Pattern;

import com.itboye.textileexpres.base.MainApplication;

import android.util.TypedValue;
/**
 * @paenNum 转化dp
 * @data 2016-10-18
 * @name liutiantian
 * @author Gooraye
 *
 */
public class TextUtility {

	public static boolean isNumCity(ArrayList<String> list){
		return false;
	}
	public static int dp2px(int dp) {
		return (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp,
				MainApplication.context.getResources().getDisplayMetrics());
	}

}
